import Vue from 'vue'
import Router from 'vue-router'
import routerResource from 'vue-resource'


import goods from 'components/goods/goods'
import seller from 'components/seller/seller'
import ratings from 'components/ratings/ratings'
Vue.use(Router)
Vue.use(routerResource)

export default new Router({
  routes: [  
    {
      path: '/goods',
      component: goods
    },
    {
      path: '/seller',
      component: seller
    },
    {
      path: '/ratings',
      component: ratings
    }
  ],
  linkActiveClass:'active'
})
